package com.bootdo.wx.service.impl;

import com.bootdo.wx.dao.CmsSlideDao;
import com.bootdo.wx.domain.CmsSlideDO;
import com.bootdo.wx.service.CmsSlideService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Service
public class CmsSlideServiceImpl implements CmsSlideService {
	@Autowired
	private CmsSlideDao cmsSlideDao;
	
	@Override
	public CmsSlideDO get(String id){
		return cmsSlideDao.get(id);
	}
	
	@Override
	public List<CmsSlideDO> list(Map<String, Object> map){
		return cmsSlideDao.list(map);
	}

	@Override
	public List<CmsSlideDO> queryAll(Map<String, Object> map) {
		return cmsSlideDao.queryAll(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return cmsSlideDao.count(map);
	}
	
	@Override
	public int save(CmsSlideDO cmsSlide){
		return cmsSlideDao.save(cmsSlide);
	}
	
	@Override
	public int update(CmsSlideDO cmsSlide){
		return cmsSlideDao.update(cmsSlide);
	}
	
	@Override
	public int remove(String id){
		return cmsSlideDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return cmsSlideDao.batchRemove(ids);
	}

}
